package practice;

public class Customer {
    private String name;
    private String IDCard;
    private String phone;
    private String address;

    public Customer(String name, String IDCard, String phone, String address) {
        this.name = name;
        this.IDCard = IDCard;
        this.phone = phone;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public String say() {
        return "姓名：" + name + "\n身份证：" + IDCard +
                "\n电话：" + phone + "\n地址：" + address;
    }
}
